package com.conception.designpattern.patterninterface;

public class MainApp {

	public static void main(String[] args){
		ISalaryCalculator c = new CategoryA(100, 25);
		Employee e = new Employee("olivier", c);
		e.display();
		c = new CategoryB(200, 50);
		Employee f = new Employee("julien", c);
		f.display();
	}
}
